package com.jspxcms.plug.service;

import com.jspxcms.common.orm.Limitable;
import com.jspxcms.common.orm.RowSide;
import com.jspxcms.plug.domain.PlugDisease;
import com.jspxcms.plug.domain.PlugDoctor;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;

import java.util.List;
import java.util.Map;

public interface PlugDiseaseService {
    public Page<PlugDisease> findAll(Integer siteId, Map<String, String[]> params, Pageable pageable);

    public RowSide<PlugDisease> findSide(Integer siteId, Map<String, String[]> params, PlugDisease bean, Integer position, Sort sort);

    public List<PlugDisease> findList(Integer[] siteId, Limitable limitable);

    public PlugDisease get(Integer id);

    public PlugDisease save(PlugDisease bean, Integer siteId);

    public PlugDisease update(PlugDisease bean);

    public PlugDisease delete(Integer id);

    public PlugDisease[] delete(Integer[] ids);
}
